from rest_framework import serializers
from .models import *


class UserSer(serializers.ModelSerializer):
    class Meta:
        model = UserModel
        fields = '__all__'


class DepartmentSer(serializers.ModelSerializer):
    class Meta:
        model = DepartmentModel
        fields = '__all__'
